#ifndef FRIENDITEM_H
#define FRIENDITEM_H

#include <QWidget>

namespace Ui {
class frienditem;
}

class frienditem : public QWidget
{
    Q_OBJECT

public:
    explicit frienditem(QWidget *parent = nullptr);
    ~frienditem();
    QString name;
    QString image;
    QString nearestmes;
    int friendudpsocket;
    void init(QString name,QString image,QString nearestmes,int friendudpsocket);
    void renewnearestmes(QString type,QString mes);
private:
    Ui::frienditem *ui;
};

#endif // FRIENDITEM_H
